<div class="container">
  <div id="login-box">
      <h1>登陆</h1>
    <form nz-form [formGroup]="validateForm" (ngSubmit)="submitForm()">
      <nz-form-item>
        <nz-form-control nzErrorTip="请输入学号">
          <nz-input-group nzPrefixIcon="user">
            <input type="text" nz-input formControlName="stuid" placeholder="学号"/>
          </nz-input-group>
        </nz-form-control>
      </nz-form-item>
      <nz-form-item>
        <nz-form-control nzErrorTip="请输入密码">
          <nz-input-group nzPrefixIcon="lock">
            <input type="password" nz-input formControlName="password" placeholder="密码"/>
          </nz-input-group>
        </nz-form-control>
      </nz-form-item>
      <nz-form-item>
        <nz-form-control>
          <!--                <label nz-checkbox formControlName="remember">-->
          <!--                  <span>记住密码</span>-->
          <!--                </label>-->
          <!--                <a class="login-form-forget">忘记密码</a>-->
          <button nz-button class="login-form-button" [nzType]="'primary'" [disabled]="!validateForm.value" (click)="checkLogin()">登陆</button>
        </nz-form-control>
      </nz-form-item>
    </form>
  </div>
</div>
